package com.sky.factory;

/**
 * Created by Frank Lau on 2017/5/26 0026.
 */
public class OperationDivide implements Operation {

    @Override
    public double getResult(double aDouble, double bDouble) {
        if (bDouble != 0) {
            return aDouble / bDouble;
        }
        return 0;
    }
}
